<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Card extends Model
{
    protected $fillable = [
        'card_num', 'card_money', 'info'
    ];

    public function user()
    {
        return $this->belongsToMany(User::class, 'user_cards');
    }
}
